
type ConnectorSettingCardItem = {
  id: string;
  // 连接器名称
  name: string;
  // 连接器描述
  description: string;
  // 连接器是否开启
  enabled: boolean;
  // 连接器类型
  type: string;
  // 连接器动作
  action: string;
  // 连接器最近更新时间
  lastUpdateTime: string;
  // 连接器最近更新人
  lastUpdateUser: string;
  staffId: string;
  // 连接器链接的模块
  leftModule: string;
  // 连接器链接的模块
  rightModule: string;
}

interface updateUser {
  cellPhone: string;
  email: string;
  id: string;
  name: string;
  staffId: string;
  workNo: string;
}
interface createUser extends updateUser {

}

type TriggerSettingCardItem = {
  id:string;
  triggerName:string;
  enable:number;
  operatorName:string;
  operatorStaffId:string;
  triggerDesc:string;
  triggerNo: string;
  updateTime:number;
  sync?:boolean;
  updateUser: updateUser
  createUser: createUser
}

export type {
  ConnectorSettingCardItem,
  TriggerSettingCardItem
}
